<?php

/**
 * 设计师主页身份标签管理相关路由
 *
 * @category   Module name
 * @package    PSR
 * @subpackage Documentation\API
 * @author     hujingdong  <hujingdong@haohaozhu.com>
 * @license    GPL http://www.haohaozhu.com
 * @link       http://www.haohaozhu.com
 */

use Illuminate\Routing\Router;

Route::group([
    'prefix'        => 'admin/DesignerTag',
    'namespace'     => 'Beerus\\Modules\\DesignerTag\\Controllers',
    'middleware'    => [
        'web',
        'admin',
    ],
], function (Router $router) {
    // 设计师的主页身份标签管理
    $router->get('/tagList', 'DesignerTagController@index')->name('designerTag.list');
    $router->get('/create', 'DesignerTagController@create')->name('designerTag.create');
    $router->post('/save', 'DesignerTagController@save');
    $router->get('/tag/{id}/edit','DesignerTagController@edit');
});
